专利摘要:
Provided are a group communication method and system, a group server and a group member device. The method comprises: a group server receiving notification messages sent by a group member device; and according to the subscription device address, aggregating the notification messages sent to the same subscription device and then sending same to the subscription device. By aggregating a plurality of messages sent to a subscription device by a group member device, the interaction messages between the group member device and the subscription device are reduced, and the communication traffic between the group member device and the subscription device is saved.
公开号:AU2012380279A1
申请号:U2012380279
申请日:2012-05-14
公开日:2014-10-30
发明作者:Fangying XIAO;Yongjing Zhang
申请人:Huawei Technologies Co Ltd;
IPC主号:H04W4-00
专利说明:
METHOD AND SYSTEM FOR GROUP COMMUNICATION, GROUP SERVER, AND GROUP MEMBER DEVICE TECHNICAL FIELD [0001] The present invention relates to the field of communication technology, and in 5 particular, to a method and a system for group communication, a group server, and a group member device. BACKGROUND [0002] With the development of communication technology, Machine-to-Machine Communication (M2M) is widely applied. The M2M communication is a network-based 10 application and service centering on intelligent machine interaction. By embedding a wireless or wired communication module and application logic module, the M2M communication implements data communication without manual intervention, so as to meet informatization requirements of users for monitoring, scheduling, data collection, measurement, and so on. [0003] FIG. 1 shows a typical M2M system architecture. The system architecture includes 15 M2M terminals, an M2M gateway, an M2M service platform, and an M2M application. [0004] An M2M terminal, such as a sensor and a microcontroller, is configured to receive a service instruction sent by the M2M application, and perform a service operation according to the received service instruction; the M2M gateway, as a proxy server between the M2M terminal and a transport network, is configured to provide a proxy service for an M2M 20 terminal connected to the gateway; the M2M service platform is configured to provide a shared M2M function for the M2M application; the M2M application, such as power meter reading or intelligent transportation, is configured to use a service capability, provided by the M2M service platform, to acquire data collected by the M2M terminal or perform remote control and management on the M2M terminal.
[0005] In the M2M system, an M2M terminal accesses the M2M service platform directly, or remotely through the M2M gateway. By using the service capability provided by the M2M service platform, various M2M applications acquire data collected by the M2M terminal or perform remote control and management on the M2M terminal. 5 [0006] In the M2M system, a group communication capability is particularly important. Currently, the M2M technical specification (TS) 102 690 and TS 102 921 formulated by the European Telecommunications Standards Institute (ETSI) describe a resource-oriented group communication method. In this method, resources such as an M2M application, an M2M service platform, an M2M terminal, and an M2M gateway, including all local applications and 10 data objects running on the M2M terminal and M2M gateway, are all considered as a kind of Representational State Transfer (RESTful) group resource. The RESTful group resource is uniquely identified by a Universal Resource Identifier (URI). A group-based operation can be performed on multiple resources by including the preceding resources as a member of the group resource. That is, the M2M application can operate the group resource at a time through 15 a subscription device, to obtain information of group member resources on all group member devices, thereby reducing the communication payload. [0007] However, the preceding method is only suitable for a subscription device to send an operation request to group member devices. When the group member devices send notification messages to the subscription device, too many messages are exchanged between 20 the group member device and the subscription devices, which results in heavy communication traffic. SUMMARY [0008] Embodiments of the present invention provide a group communication method, system, group server, and group member device, for solving a problem of heavy 25 communication traffic caused by too many messages exchanged between a group member device and a subscription device when the group member device sends notification messages to the subscription device. [0009] An embodiment of the present invention provides a group communication method, including: receiving notification messages sent by a group member device, where the notification messages are sent to a group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least; aggregating, according to an address of the subscription device, the 5 notification messages destined for the same subscription device; and sending, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device. [0010] An embodiment of the present invention further provides a group communication method, including: determining, by a group member device, whether a resource of the group 10 member device meets a set subscription condition; and sending, by the group member device, notification messages to a group server if the resource of the group member device meets the set subscription condition, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device. [0011] An embodiment of the present invention further provides a group server, including: 15 a first receiving module, configured to receive notification messages sent by a group member device, where the notification messages are sent to the group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least; an aggregating module, configured to aggregate, according to an address of the subscription device, the notification messages 20 destined for the same subscription device; and a first sending module, configured to send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device. [0012] An embodiment of the present invention further provides a group member device, including: a determining module, configured to determine whether a resource of the group 25 member device meets a set subscription condition; and a second sending module, configured to send notification messages to a group server if the resource of the group member device meets the set subscription condition, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device. 30 [0013] An embodiment of the present invention further provides a group communication system, including: a group member device, configured to send notification messages to a group server, where the notification messages are sent to the group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least; and the group server, configured to receive 5 the notification messages sent by the group member device, aggregate, according to an address of the subscription device, the notification messages destined for the same subscription device, and send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device. [0014] In the embodiments of the present invention, a group server receives the 10 notification messages sent by a group member device, aggregates, according to an address of a subscription device, notification messages destined for the same subscription device, and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are 15 reduced, thereby reducing communication traffic between the group member device and the subscription device. BRIEF DESCRIPTION OF DRAWINGS [0015] FIG. 1 is a schematic diagram of an M2M system architecture in the prior art; [0016] FIG. 2 is a schematic flowchart of an embodiment of a group communication 20 method according to the present invention; [0017] FIG. 3 is a schematic flowchart of another embodiment of a group communication method according to the present invention; [0018] FIG. 4 is a schematic flowchart of another embodiment of a group communication method according to the present invention; 25 [0019] FIG. 5 is a schematic flowchart of another embodiment of a group communication method according to the present invention; [0020] FIG. 6 is a schematic flowchart of another embodiment of a group communication method according to the present invention; [0021] FIG. 7 is a schematic flowchart of another embodiment of a group communication method according to the present invention; [0022] FIG. 8 is a schematic flowchart of another embodiment of a group communication method according to the present invention; 5 [0023] FIG. 9 is a schematic flowchart of another embodiment of a group communication method according to the present invention; [0024] FIG. 10 is a schematic diagram of an embodiment of a group server according to the present invention; [0025] FIG. 11 is a schematic diagram of an embodiment of a group member device 10 according to the present invention; and [0026] FIG. 12 is a schematic diagram of an embodiment of a group communication system according to the present invention. DESCRIPTION OF EMBODIMENTS [0027] To make the objectives, technical solutions, and advantages of the embodiments of 15 the present invention more comprehensible, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art according to 20 the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention. [0028] The following describes the overall technical solution of method embodiments of the present invention. Method Embodiment 1 25 [0029] FIG. 2 is a schematic flowchart of an embodiment of a group communication method according to the present invention. As shown in FIG. 2, the method includes: [0030] Step 101: Receive notification messages sent by a group member device, where the notification messages are sent to a group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least. [0031] In this embodiment of the present invention, the group server is a server that can 5 perform a group-based operation on multiple resources. For example, in an M2M system, resources such as an M2M application, an M2M service platform, an M2M terminal, and an M2M gateway, including all local applications and data objects running on the M2M terminal and the M2M gateway, are all considered as a kind of RESTful group resource. The group server can perform a group-based operation on the resources. The group member device is a 10 device where a group resource resides, such as a humidity sensor or a temperature sensor. [0032] It should be noted that in this embodiment of the present invention, the group server may be deployed and run on the M2M service platform, the M2M terminal, or the M2M gateway. [0033] Step 102: Aggregate, according to an address of the subscription device, the 15 notification messages destined for the same subscription device. [0034] Step 103: Send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device. [0035] In this embodiment of the present invention, the group server can aggregate multiple notification messages according to the address of the subscription device. The 20 number of notification messages obtained after aggregation is smaller than the number of notification messages sent by the group member device. Alternatively, the number of notification messages obtained after aggregation is 1. [0036] In this embodiment of the present invention, a group server receives notification messages sent by a group member device, aggregates, according to an address of a 25 subscription device, the notification messages destined for the same subscription device, and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by a group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the 30 subscription device.
Method Embodiment 2 [0037] FIG. 3 is a schematic flowchart of another embodiment of a group communication method according to the present invention. As shown in FIG. 3, the method includes: [0038] Step 201: A group member device determines whether a resource of the group 5 member device meets a set subscription condition. [0039] Step 202: If the resource of the group member device meets the set subscription condition, the group member device sends notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device. 10 [0040] In this embodiment of the present invention, the group server is a server that can perform a group-based operation on multiple resources. For example, in an M2M system, resources such as an M2M application, an M2M service platform, an M2M terminal, and an M2M gateway, including all local applications and data objects running on the M2M terminals and the M2M gateway, are all considered as a kind of RESTful group resource. The 15 group server can perform a group-based operation on the resources. The group member device is a device where a group resource resides, such as a humidity sensor or a temperature sensor. [0041] It should be noted that in this embodiment of the present invention, the group server may be deployed and run on the M2M service platform, the M2M terminal, or the 20 M2M gateway. [0042] In addition, it should further be noted that in this embodiment of the present invention, the number of notification messages obtained after aggregation by the group server is smaller than the number of notification messages sent by the group member device. Alternatively, the number of notification messages obtained after aggregation by the group 25 server is 1. [0043] In this embodiment of the present invention, after a resource of a group member device meets a set subscription condition, the group member device sends notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device. 5 Method Embodiment 3 [0044] FIG. 4 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, a subscription device and a group member resource are not at the same service capability layer (SCL). The solution of the present invention is described with an example where a 10 subscription device carries a forwarding identifier and an address of the subscription device in notification messages sent to a group server and the group server aggregates and sends the notification messages to the subscription device. As shown in FIG. 4, the method includes: [0045] Step 301: A subscription device sends a request message for subscribing to a group member resource to a group server, where the request message carries an address of the 15 subscription device. [0046] In this embodiment of the present invention, the subscription device is a device that sends a service request message to the group server. The subscription device may be any electronic product that can perform human-machine interaction with a user through a keyboard, a mouse, a remote control, a touchpad, or a voice-operated device, including but 20 not limited to a computer, a mobile phone, and the like. [0047] Step 302: The group server forwards the request message for subscribing to a group member resource to each group member device, where the request message carries an address of the group server and the address of the subscription device. [0048] In this embodiment of the present invention, the address of the group server is used 25 to prompt a group member device that: if a resource change of the group member device meets a subscription condition preset by the subscription device, a notification message needs to be sent to the group server. [0049] For example, if the group member device is a temperature sensor, the subscription condition set by the subscription device is that: when a temperature sensed by the temperature sensing apparatus reaches 100'C, reporting is needed. When the temperature sensed by the temperature sensing apparatus reaches 100'C, the temperature sensing apparatus encapsulates a temperature parameter into a notification message, and sends the notification message to the 5 group server according to the address of the group server. [0050] It should be noted that in this embodiment of the present invention, an implementation manner of the address of the group server is not limited. For example, a URI may be used to represent the address of the group server. [0051] Step 303: Each group member device verifies the request message according to the 10 address of the subscription device carried in the request message. [0052] In this embodiment of the present invention, the group member device verifies the request message according to the address of the subscription device carried in the request message, in order to identify whether the subscription device has service subscription permission for the group member device. 15 [0053] Step 304: If the verification is passed, each group member device creates a subscription resource and stores the address of the group server and the address of the subscription device carried in the request message. [0054] In this embodiment of the present invention, that the group member device creates a subscription resource means that: The group member device creates, in its subresource, the 20 subscription resource, and sets attributes of the subscription resource, where the attributes of the subscription resource include but are not limited to: creation time of the subscription resource, expiry time of the subscription resource, last modification time of the subscription resource, subscription condition of the subscription resource, recipient address of a notification message of the subscription resource, and the like. 25 [0055] It should be noted that in this embodiment of the present invention, when creating the subscription resource, the group member device sets a recipient address of a notification message of the subscription resource to the address of the group server. [0056] It should further be noted that if the subscription device is at the same service capability layer (SCL) as the group member resource, the group member device sets the 30 recipient address of the notification message of the subscription resource to the address of the subscription device when creating the subscription resource, so that when the resource change of the group member device meets the subscription condition set by the subscription device, the notification message is directly sent to the subscription device according to the address of the notification message. It can be determined, according to an identifier of the subscription 5 device and an identifier of the group member resource, whether the subscription device and the group member resource are at the same service capability layer. The identifier may be a URI. [0057] Step 305: Each group member device returns a response message to the group server. 10 [0058] Step 306: The group server aggregates all response messages. [0059] Step 307: The group server returns a response message obtained after aggregation to the subscription device. [0060] Step 308: When a resource of a group member device meets the subscription condition set by the subscription device, the group member device sends a notification 15 message to the group server according to the recipient address of the notification message, where the notification message carries the address of the subscription device and a forwarding identifier. [0061] In this embodiment of the present invention, the forwarding identifier is used to trigger the group server to aggregate notification messages sent by group member devices, 20 and forward a notification message obtained after aggregation to the subscription device according to the address of the subscription device. [0062] Step 309: The group server determines whether the notification message carries the forwarding identifier. [0063] Step 310: If the notification message carries the forwarding identifier, the group 25 server aggregates, according to the address of the subscription device carried in the notification message, notification messages destined for the same subscription device. [0064] Specifically, the group server determines, according to the forwarding identifier carried in the notification messages, that the notification messages need to be forwarded to the subscription device. The group server aggregates, according to the address of the subscription 30 device receiving the notification messages which is carried in the notification messages, the notification messages that carry the same address of the subscription device into a single notification message. [0065] For example, subscription device A subscribes to group member device 1, group member device 2, and group member device 3. If the subscription condition set by the 5 subscription device is met within a set time period, group member device 1, group member device 2, and group member device 3 send notification messages to the group server. The notification messages all carry an address of subscription device A. After receiving the notification messages, the group server aggregates, according to the address of subscription device A carried in the notification messages, the notification messages that carry the same 10 address of subscription device A into a single notification message. [0066] Step 311: The group server sends, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device. [0067] In this embodiment of the present invention, by carrying a forwarding identifier and an address of a subscription device in notification messages sent by group member 15 devices, a group server can aggregate the notification messages sent by the group member devices to the same subscription device and send a message obtained after aggregation to the subscription device. This reduces the number of notification messages between the subscription device and the group member devices, thereby reducing communication traffic. [0068] On the basis of this embodiment of the present invention, the following may be 20 further included: The group server receives a group resource update request, where the group resource update request is used to change the status of the group resource, for example, to change access permission for the group resource. The group server forwards the group resource update request to each group member device. Each group member device determines whether the update request is forwarded by the group server. If the group resource update 25 request is forwarded by the group server, after the updated group resource meets the subscription condition set by the subscription device, notification messages are aggregated by the group server and a notification message obtained after aggregation is sent to the subscription device. Otherwise, the group member devices directly send the notification messages to the subscription device, thereby preventing the group server from aggregating all 30 updated group resources and reducing the resource overhead of the group server.
[0069] The group member device determines whether the update request is forwarded by the same group server. A specific manner may be as follows: When forwarding a group resource update request to the group member device, the group server carries an address of the group server in the request. The group member device compares a stored address of the 5 group server for aggregating notification messages with the address of the group server carried in the resource update request. If the address of the group server that is used for aggregating notification messages and is stored on the group member device is the same as the address of the group server carried in the resource update request, it can be determined that the update request is forwarded by a group server used for aggregating notification 10 messages. Method Embodiment 4 [0070] FIG. 5 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, a subscription device and a group member resource are not at the same SCL. The solution of the 15 present invention is described with an example, where in a group resource <group> defined in the European Telecommunications Standards Institute (ETSI) M2M TS 102 690, a subresource for aggregating notification messages is introduced to aggregate notification messages sent to the subscription device and send a message obtained after aggregation to the subscription device. As shown in FIG. 5, the method includes: 20 [0071] Step 401: A subscription device sends a request message for subscribing to a group member resource to a group server, where the request message carries an address of the subscription device. [0072] In this embodiment of the present invention, the subscription device is a device that sends a service request message to the group server. The subscription device may be any 25 electronic product that can perform human-machine interaction with a user through a keyboard, a mouse, a remote control, a touchpad, or a voice-operated device, including but not limited to a computer, a mobile phone, and the like. [0073] Step 402: The group server forwards the request message for subscribing to a group member resource to each group member device, where the request message carries an address of a subresource of the group server for aggregating notification messages and the address of the subscription device. [0074] In this embodiment of the present invention, the address of the subresource of the 5 group server for aggregating notification messages is used to prompt a group member device that: if a resource change of the group member device meets a subscription condition set by the subscription device, the notification messages need to be sent to the subresource of the group server according to the address of the subresource of the group server for aggregating notification messages. 10 [0075] Specifically, a subresource for aggregating notification messages is introduced in the group resource <group> defined in the ETSI M2M TS 102 690, where, actually the subresource is not used for storing a resource. When a destination of the notification messages sent by the group member device to the group server is the subresource for aggregating notification messages, the group server aggregates the notification messages according to the 15 address of the subscription device and forwards a message obtained after aggregation to the subscription device. [0076] As shown in Table 1, "to subscribers" indicates the subresource introduced in the group resource <group> for aggregating notification messages. Table 1 up 2= Members 20 [0077] The <group> is a group resource representation defined in the ETSI M2M TS 102 690. The <group> mainly includes: a members attribute, members, used for describing the URI of each member resource; a members content subresource, members content, used for indicating all group member resources; a subscription subresource, subscriptions, used for 5 storing information such as a subscriber that subscribes to a group resource. [0078] It should be noted that in this embodiment of the present invention, the members attribute can be added, deleted, modified, or viewed for implementing modification or viewing of a group member list. The members content subresource can be added, deleted, modified, or viewed for implementing modification or viewing of all member resources of a 10 group. The subscriptions subresource can be added, deleted, modified, or viewed for implementing prompt perception of a change of a group resource in time. [0079] It should further be noted that in this embodiment of the present invention, if the subresource that is introduced in <group> and used for aggregating notification messages, is to subscribers shown in Table 1, in step 402, the address of the subresource of the group 15 server that is carried in the request message and used for aggregating notification messages may be: URI of group / to Subscribers. [0080] Step 403: Each group member device verifies the request message according to the address of the subscription device carried in the request message. [0081] In this embodiment of the present invention, the group member device verifies the 20 request message according to the address of the subscription device carried in the request message, in order to identify whether the subscription device has service subscription permission for the group member device. [0082] Step 404: If the verification is passed, each group member device creates a subscription resource and stores the address of the subresource of the group server for 25 aggregating notification messages and the address of the subscription device carried in the request message. [0083] In this embodiment of the present invention, that the group member device creates a subscription resource means that: The group member device creates, in its subresource, the subscription resource, and sets attributes of the subscription resource, where the attributes of 30 the subscription resource include but are not limited to: creation time of the subscription resource, expiry time of the subscription resource, last modification time of the subscription resource, subscription condition of the subscription resource, recipient address of a notification message of the subscription resource, and the like. [0084] It should be noted that in this embodiment of the present invention, when creating 5 the subscription resource, the group member device sets a recipient address of a notification message of the subscription resource to the address of the subresource of the group server for aggregating notification messages. [0085] It should further be noted that if the subscription device and the group member resource are at the same SCL, when creating the subscription resource, the group member 10 device sets the recipient address of the notification message of the subscription resource to the address of the subscription device, so that when the resource change of the group member device meets the subscription condition set by the subscription device, the notification message is directly sent to the subscription device according to the address of the notification message. It can be determined, according to an identifier of the subscription device and an 15 identifier of the group member resource, whether the subscription device and the group member resource are at the same service capability layer. The identifier may be a URI. [0086] Step 405: The group member device returns a response message to the group server. [0087] Step 406: The group server aggregates all response messages. 20 [0088] Step 407: The group server returns a response message obtained after aggregation to the subscription device. [0089] Step 408: When a resource of the group member device meets the subscription condition set by the subscription device, the group member device sends, according to the recipient address of the notification message, the notification message to the subresource of 25 the group server for aggregating notification messages, where the notification message carries the address of the subscription device. [0090] Step 409: The group server aggregates, according to the address of the subscription device, all notification messages destined for the subresource of the group server for aggregating notification messages. 30 [0091] Specifically, the group server determines, according to the recipient address of the notification messages, that the notification messages need to be forwarded to the subscription device. The group server aggregates, according to the address of the subscription device carried in the notification messages, the notification messages that carry the same address of the subscription device into a single notification message. 5 [0092] Step 410: The group server sends, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device. [0093] In this embodiment of the present invention, a group member device sends notification messages to an address of a subresource of a group server for aggregating notification messages, so that the group server aggregates all notification messages sent by the 10 group member device to the same subscription device and sends a notification message obtained after aggregation to the subscription device. This reduces the number of notification messages between the subscription device and the group member device, thereby reducing communication traffic. Method Embodiment 5 15 [0094] FIG. 6 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, a subscription device and a group member resource are not at the same SCL. A group server stores an address of a subscription device, so that when the address of the subscription device changes, a group member device does not need to be notified, and only the group server needs 20 to be notified. Then the group server aggregates notification messages and sends a notification message obtained after aggregation to the subscription device with the changed address. [0095] It should be noted that in this embodiment of the present invention, the RESTful resource representation mechanism is used to implement the solution of the present invention. As shown in FIG. 6, the method includes: 25 [0096] Step 501: A subscription device sends a request message for subscribing to a group member resource to a group server. The request message carries an address of the subscription device. [0097] Step 502: After receiving the request message for subscribing to a group member resource, the group server creates a subresource for storing a subscription condition and the address of the subscription device. [0098] In this embodiment of the present invention, after receiving the request message for subscribing to a group member resource, the group server creates a subresource for storing 5 the subscription condition and the address of the subscription device, in either of the following manners: [0099] Manner 1: after receiving the request message for subscribing to a group member resource, searching, by the group server, in a group resource, for a subresource that includes the subscription condition set by the subscription device; and if the subresource exists, 10 creating, in the subresource, a subresource for storing the address of the subscription device; or if the subresource does not exist, first creating, according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and then creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device. 15 [0100] It should be noted that, in manner 1, the used manner of creating a subresource for storing the address of the subscription device is implemented by using the RESTful resource representation mechanism as a part of the group resource. [0101] Specifically, the <Subscriber Members> subresource is introduced in the group resource <group> defined in the ETSI M2M TS 102 690 to describe related information of 20 the subscription condition and all subscribers that subscribe to a group member resource through the group server. The <Subscriber Members> subresource is as shown in Table 2.
Table 2 Subscriber Members subscriber member 1 - filter criteria -rsubascriber contact 1 -ro v wi ccriber contact subresources inldsteflownmtrbts subscriber member n S filter criteriacitia -th ssubscriber contact 1 [0102] The <Subscriber Members> subresource includes multiple <subscriber member> 5 subresources, and each <subscriber member> subresource includes the addresses of all subscription devices with the same subscription condition. The <subscriber member> subresource includes the following attributes: a anlter criteria attribute, used for storing a subscription condition that is set during the subscription to a group member resource; and 10 a subscriber contact attribute, used for storing the addresses of subscription devices that have the same subscription condition as that stored in the filter criteria attribute. [0103] Manner 2: searching for a group resource for storing subscription information of the subscription device, and if the group resource exists, searching, in the group resource, for a subresource that includes the subscription condition set by the subscription device, and if 15 the subresource exists, creating, in the subresource, a subresource for storing the address of the subscription device, or if the subresource does not exist, first creating, according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and then creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device; or if the group resource for storing the subscription information of the subscription device does not exist, creating a group resource for storing the subscription information of the subscription device, and creating, in the group resource according to the subscription 5 condition set by the subscription device, a subresource for storing the subscription condition, and creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device; or if the group for storing the subscription information does not exist, creating a new group, and first creating, according to the subscription condition, a subresource for storing the 10 subscription condition, and then creating, in the new subresource, a subresource for storing the address of the subscription device. [0104] It should be noted that, if a group resource for storing the subscription information of the subscription device is created, a subresource created in the new group resource is as shown in Table 3: 15 Table 3 Subscriber Members Group attribute subscriber member 1
-
filter criteria - subscriber contact 1 - subscriber contact n7 subscriber member n In Table 3, <Subscriber Members Group> is the new group; attribute is a description of attributes of the group, such as the group creation time and last modification time; the group includes multiple <subscriber member> subresources and each <subscriber member> subresource includes the addresses of all subscription devices with the same 5 subscription condition. The <subscriber member> subresource includes the following attributes: a filter criteria attribute, used for storing a subscription condition that is set during the subscription to a group member resource; and a subscriber contact attribute, used for storing the addresses of subscription 10 devices that have the same subscription condition as that stored in the filter criteria attribute. [0105] Step 503: The group server forwards the request message for subscribing to a group member resource to each group member device, where the request message carries the address of the subresource of the group server for aggregating notification messages and the address of the subscription device. 15 [0106] In this embodiment of the present invention, the address of the subresource of the group server for aggregating notification messages is used to prompt a group member device that: if a resource change of the group member device meets the subscription condition set by the subscription device, notification messages need to be sent to the subresource of the group server according to the address of the subresource of the group server for aggregating 20 notification messages. [0107] It should be noted that in this embodiment of the present invention, the subresource corresponding to the address of the subresource of the group server for aggregating notification messages, is used for storing the subscription condition and the address of the subscription device. 25 [0108] In addition, it should further be noted that, the address of the subresource of the group server for aggregating notification messages varies according to the manner of creating the subresource by the group server. [0109] For example, if the group server creates, according to manner 1 in step 502, a subresource for storing the address of the subscription device, an address of the group server 30 for aggregating notification messages is an address of an existing group as: /subscribeMembers/subscribeMember/subscriberContact. [0110] If the group server creates, according to manner 2 in step 502, a new group of the subresource for storing the address of the subscription device, the address of the group server for aggregating notification messages is an address of a new group as: 5 /subscribeMembers/subscribeMember/subscriberContact. [0111] It should be noted that, the address of an existing group or a new group may be represented by using a URI. [0112] Step 504: The group member device verifies the request message according to the address of the subscription device carried in the request message. 10 [0113] In this embodiment of the present invention, the group member device verifies the request message according to the address of the subscription device carried in the request message, in order to identify whether the subscription device has service subscription permission for the group member device. [0114] Step 505: If the verification is passed, each group member device creates a 15 subscription resource and stores the address of the group server for aggregating notification messages which is carried in the request message. [0115] In this embodiment of the present invention, that the group member device creates a subscription resource means that: The group member device creates, in its subresource, the subscription resource, and sets attributes of the subscription resource, where the attributes of 20 the subscription resource include but are not limited to: creation time of the subscription resource, expiry time of the subscription resource, last modification time of the subscription resource, subscription condition of the subscription resource, recipient address of a notification message of the subscription resource, and the like. [0116] It should be noted that in this embodiment of the present invention, the group 25 member device sets the recipient address of the notification message of the subscription resource to the address of the subresource of the group server for aggregating notification messages, that is, the address of the subresource that is set by the group server and used for storing the subscription condition of the subscription device and the address of the subscription device. 30 [0117] Step 506: Each group member device returns a response message to the group server. [0118] Step 507: After receiving response messages, the group server aggregates all response messages. [0119] Step 508: The group server returns a response message obtained after aggregation 5 to the subscription device, where the response message carries the address of the subresource that is created by the group server and used for storing the subscription condition of the subscription device and the address of the subscription device. [0120] Step 509: After receiving the response message, the subscription device parses the response message and stores the address of the subresource that is carried in the response 10 message and used for storing the subscription condition of the subscription device and the address of the subscription device, for example, an address of an existing group as: /subscribeMembers/subscribeMember/subscriberContact. [0121] Step 510: When the resource of the group member device changes and meets the subscription condition set by the subscription device, notification messages are sent to the 15 address of the subresource of the group server for aggregating notification messages. [0122] Step 511: The group server aggregates, according to the address of the subscription device stored in the subresource, all notification messages destined for the address of the subresource of the group server for aggregating notification messages. [0123] Specifically, the group server determines, according to the recipient address of the 20 notification messages, that the notification messages need to be forwarded to the subscription device. That is, the group server determines, according to the address of the subresource of the group server for aggregating notification messages, that the notification messages need to be forwarded to the subscription device. The group server acquires, according to the recipient address of the notification messages, from the subresource of the group server corresponding 25 to the recipient address of the notification messages, the address of the subscription device stored in the subresource. The group server aggregates, according to the address of the subscription device, the notification messages with the same recipient address into a single notification message. [0124] Step 512: The group server sends, according to the address of the subscription 30 device stored by the group server, a notification message obtained after aggregation to the subscription device. [0125] Step 513: When the subscription device needs to change an address for receiving notification messages, the subscription device sends an address change request message to the group server according to the address of the subresource that is stored on the subscription 5 device and used for storing the subscription condition of the subscription device and the address of the subscription device, where the address change request message carries a changed address of the subscription device. [0126] Step 514: The group server updates, in the subresource for storing the subscription condition of the subscription device and the address of the subscription device, the address of 10 the subscription device to the changed address of the subscription device carried in the change request message. [0127] Step 515: When the resource of the group member device changes and meets the subscription condition set by the subscription device, notification messages are sent to the address of the subresource of the group server for aggregating notification messages. 15 [0128] Step 516: The group server aggregates, according to the changed address of the subscription device stored in the subresource of the group server, all notification messages destined for the address of the subresource of the group server for aggregating notification messages. [0129] Step 517: The group server sends, according to the changed address of the 20 subscription device, a notification message obtained after aggregation to the corresponding subscription device. [0130] In this embodiment of the present invention, a group server stores an address of a subscription device. When the address of the subscription device changes, the subscription device does not need to notify a group member device, and only needs to notify the group 25 server of changing the stored address of the subscription device, and then notification messages sent by the group member device are sent to the subscription device with the new address, thereby reducing communication traffic between the group member device and the subscription device.
Method Embodiment 6 [0131] FIG. 7 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, a subscription device and a group member resource are not at the same SCL. The solution of the 5 present invention is described with an example where a group includes a subgroup. In this embodiment of the present invention, group A includes subgroup B, group member device 1, and group member device 2, and subgroup B includes group member device 3 and group member device 4. As shown in FIG. 7, the method includes: [0132] Step 601: A subscription device sends a request message for subscribing to a group 10 member resource to group server A, where the request message carries an address of the subscription device. [0133] Step 602: Group server A forwards the request message for subscribing to a group member resource to each group member device that belongs to group server A, where the request message carries an address of group server A for aggregating notification messages 15 and the address of the subscription device. [0134] Step 603: Group server A forwards the request message sent by the subscription device for subscribing to a group member resource to subgroup server B. [0135] Step 604: Subgroup server B forwards the request message for subscribing to a group member resource to each group member device that belongs to subgroup server B, 20 where the request message carries an address of subgroup server B for aggregating notification messages and the address of the subscription device. [0136] Step 605: Each group member device verifies the request message according to the address of the subscription device carried in the request message. [0137] Step 606: If the verification is passed, each group member device creates a 25 subscription resource and stores an address of the corresponding group server for aggregating notification messages and the address of the subscription device. [0138] In this embodiment of the present invention, group member device 1 and group member device 2 store the address of group server A for aggregating notification messages and the address of the subscription device, where the addresses are carried in the request message by group server A; group member device 3 and group member device 4 store the address of subgroup server B for aggregating notification messages and the address of the subscription device, where the addresses are carried in the request message by subgroup server B. 5 [0139] Step 607: When resources of group member device 1 and group member device 2 of group server A meet a subscription condition set by the subscription device, group member device 1 and group member device 2 send notification messages to the address of group server A for aggregating notification messages, where the notification messages carry the address of the subscription device. 10 [0140] Step 608: When resources of group member device 3 and group member device 4 of subgroup server B meet the subscription condition set by the subscription device, group member device 3 and group member device 4 send notification messages to the address of subgroup server B for aggregating notification messages, where the notification messages carry the address of the subscription device. 15 [0141] Step 609: Group server A and subgroup server B respectively aggregate the notification messages and send a notification message obtained after aggregation to the subscription device. [0142] In this embodiment of the present invention, group server A and subgroup server B aggregate notification messages sent by their group member devices to the same subscription 20 device, and send a notification message obtained after aggregation to the subscription device. This reduces the number of notification messages between the subscription device and the group member devices, thereby reducing communication traffic. Method Embodiment 7 [0143] FIG. 8 is a schematic flowchart of another embodiment of a group communication 25 method according to the present invention. In this embodiment of the present invention, the solution of the present invention is described with an example where a group includes a subgroup. In this embodiment of the present invention, group A includes subgroup B, group member device 1, and group member device 2, and subgroup B includes group member device 3 and group member device 4. As shown in FIG. 8, the method includes: [0144] Step 701: A subscription device sends a request message for subscribing to a group member resource to group server A, where the request message carries an address of the subscription device. 5 [0145] Step 702: Group server A forwards the request message for subscribing to a group member resource to each group member device that belongs to group server A and to subgroup server B, where the request message carries an address of group server A for aggregating notification messages and the address of the subscription device. [0146] Step 703: Subgroup server B forwards the request message for subscribing to a 10 group member resource to each group member device that belongs to the group server, where the request message carries an address of subgroup server B for aggregating notification messages and the address of the subscription device; and stores a mapping relationship between the address of the subscription device and the address of group server A for aggregating notification messages. 15 [0147] Step 704: Each group member device verifies the request message according to the address of the subscription device carried in the request message. [0148] Step 705: If the verification is passed, each group member device creates a subscription resource, and stores an address of the corresponding group server for aggregating notification messages and the address of the subscription device. 20 [0149] In this embodiment of the present invention, group member device 1 and group member device 2 store the address of group server A for aggregating notification messages and the address of the subscription device, where the addresses are carried in the request message by group server A; group member device 3 and group member device 4 store the address of subgroup server B for aggregating notification messages and the address of the 25 subscription device, where the addresses are carried in the request message by subgroup server B. [0150] Step 706: When resources of group member device 1 and group member device 2 of group server A meet a subscription condition set by the subscription device, group member device 1 and group member device 2 send notification messages to the address of group 30 server A for aggregating notification messages, where the notification messages carry the address of the subscription device. [0151] Step 707: When resources of group member device 3 and group member device 4 of subgroup server B meet the subscription condition set by the subscription device, group member device 3 and group member device 4 send notification messages to the address of 5 subgroup server B for aggregating notification messages, where the notification messages carry the address of the subscription device. [0152] Step 708: Subgroup server B aggregates the notification messages according to the address of the subscription device. [0153] Step 709: Subgroup server B sends, according to the stored mapping relationship 10 between the address of the subscription device and the address of group server A for aggregating notification messages, a notification message obtained after aggregation to the address of group server A for aggregating notification messages. [0154] Step 710: Group server A aggregates the notification messages sent by group member device 1 and group member device 2, and the notification message that is obtained 15 after aggregation and sent by subgroup server B. [0155] Step 711: Group server A sends a notification message obtained after aggregation to the subscription device. [0156] In this embodiment of the present invention, subgroup server B aggregates notification messages sent by group member devices that belong to subgroup server B, and 20 sends a notification message obtained after aggregation to group server A. Group server A further aggregates notification messages sent by group member devices that belong to group server A, and the notification message that is obtained after aggregation and sent by subgroup server B. This reduces the number of notification messages between the subscription device and the group member devices, thereby reducing communication traffic. 25 Method Embodiment 8 [0157] FIG. 9 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, the solution of the present invention is described with an example where a group includes a subgroup. In this embodiment of the present invention, group A includes subgroup B, group member device 1, and group member device 2, and subgroup B includes group member device 3 and group member device 4. As shown in FIG. 9, the method includes: [0158] Step 801: A subscription device sends a request message for subscribing to a group 5 member resource to group server A, where the request message carries an address of the subscription device. [0159] Step 802: Group server A forwards the request message for subscribing to a group member resource to each group member device that belongs to group server A and to subgroup server B, where the request message carries an address of group server A for 10 aggregating notification messages and the address of the subscription device. [0160] Step 803: Subgroup server B forwards the request message for subscribing to a group member resource to each group member device that belongs to subgroup server B, where the request message carries an address of group server A for aggregating notification messages and the address of the subscription device. 15 [0161] Step 804: Each group member device verifies the request message according to the address of the subscription device carried in the request message. [0162] Step 805: If the verification is passed, each group member device creates a subscription resource and stores the address of group server A for aggregating notification messages and the address of the subscription device. 20 [0163] Step 806: When resources of group member device 1, group member device 2, group member device 3, and group member device 4 meet a subscription condition set by the subscription device, they respectively send notification messages to group server A according to the address of group server A for aggregating notification messages, where the notification messages carry the address of the subscription device. 25 [0164] Step 807: Group server A aggregates the notification messages according to the address of the subscription device. [0165] Step 808: Group server A sends a notification message obtained after aggregation to the subscription device. [0166] In this embodiment of the present invention, group server A aggregates notification 30 messages sent to the same subscription device by group member devices that belong to group server A, and notification messages sent to the same subscription device by group member devices that belong to subgroup server B. This reduces the number of notification messages between the subscription device and the group member devices, thereby reducing communication traffic. 5 [0167] The following describes the overall technical solution of an embodiment of a group server of the present invention. [0168] FIG. 10 is a schematic structural diagram of an embodiment of a group server according to the present invention. As shown in FIG. 10, a group server 1100 includes a first receiving module 11001, an aggregating module 11002, and a first sending module 11003. 10 [0169] The first receiving module 11001 is configured to receive notification messages sent by a group member device, where the notification messages are sent to a group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least. [0170] The aggregating module 11002 is configured to aggregate, according to an address 15 of the subscription device, the notification messages destined for the same subscription device. [0171] The first sending module 11003 is configured to send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device. 20 [0172] In this embodiment of the present invention, a group server receives notification messages sent by a group member device, aggregates, according to an address of a subscription device, the notification messages destined for the same subscription device, and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, 25 messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device. [0173] Alternatively, in this embodiment of the present invention, the aggregating module 11002 may be specifically configured to aggregate, according to a forwarding identifier and 30 the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device. In addition, the aggregating module 11002 may be specifically configured to aggregate, according to a recipient address of the notification messages and the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device. In addition, the 5 aggregating module 11002 may be specifically configured to aggregate, according to a recipient address of the notification messages and the address of the subscription device stored in a subresource of the group server, the notification messages destined for the same subscription device. [0174] Alternatively, in this embodiment of the present invention, the first receiving 10 module 11001 may be further configured to receive an address change request message sent by the subscription device, where the address change request message carries the changed address of the subscription device, and update the address of the subscription device stored in the subresource to the changed address. [0175] The following describes the overall technical solution of an embodiment of a 15 group member device of the present invention. [0176] FIG. 11 is a schematic structural diagram of an embodiment of a group member device according to the present invention. As shown in FIG. 11, a group member device 1200 includes a determining module 12001 and a second sending module 12002. [0177] The determining module 12001 is configured to determine whether a resource of 20 the group member device meets a set subscription condition. [0178] The second sending module 12002 is configured to send notification messages to a group server if the resource of the group member device meets the set subscription condition, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device. 25 [0179] In this embodiment of the present invention, after a resource of a group member device meets a set subscription condition, the group member device sends notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, 30 messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device. [0180] Alternatively, in this embodiment of the present invention, the second sending module 12002 is specifically configured to: send notification messages to the group server, 5 where the notification messages carry a forwarding identifier and an address of the subscription device, so that the group server aggregates the notification messages according to the forwarding identifier and the address of the subscription device and sends a notification message obtained after aggregation to the subscription device; or send notification messages to the group server, where the notification messages 10 carry an address of the subscription device, and a recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages, so that the group server aggregates the notification messages according to the address of the subresource and the address of the subscription device and sends a notification message obtained after aggregation to the subscription device; or 15 send notification messages to the group server, where a recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages, so that the group server acquires, according to the address of the subresource, an address of the subscription device stored in the subresource, aggregates the notification messages according to the address of the subscription device, and sends a 20 notification message obtained after aggregation to the subscription device. [0181] The following describes the overall technical solution of an embodiment of a group communication system of the present invention. [0182] FIG. 12 is a schematic structural diagram of an embodiment of a group communication system according to the present invention. As shown in FIG. 12, the group 25 communication system includes a group member device 15001 and a group server 15002. [0183] The group member device 15001 is configured to send notification messages to the group server 15002, where the notification messages are sent to the group server 15002 after a resource of the group member device 15001 meets a subscription condition set by a subscription device, and the number of notification messages is two at least. 30 [0184] The group server 15002 is configured to receive the notification messages sent by the group member device 15001, aggregate, according to an address of the subscription device, the notification messages destined for the same subscription device, and send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device. 5 [0185] In this embodiment of the present invention, after a resource of a group member device meets a set subscription condition, the group member device sends notification messages to a group server. The group server receives the notification messages sent by the group member device, aggregates, according to an address of a subscription device, the notification messages destined for the same subscription device, and sends a notification 10 message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device. [0186] A person of ordinary skill in the art may be aware that, in combination with the 15 examples described in the embodiments disclosed in this specification, modules, units, and steps may be implemented by electronic hardware, computer software, or a combination thereof. To clearly describe the interchangeability between the hardware and the software, the foregoing has generally described compositions and steps of each example according to functions. Whether the functions are performed by hardware or software depends on 20 particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present invention. [0187] It may be clearly understood by a person skilled in the art that, for the purpose of 25 convenient and brief description, for a detailed working process of the foregoing system, apparatus, module, and unit, reference may be made to a corresponding process in the foregoing method embodiments, and details are not described herein again. [0188] In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other 30 manners. For example, the described apparatus embodiment is merely exemplary. For example, the module or unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or modules may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed inter-coupling, or direct coupling, or 5 communication connections may be indirect coupling or communication connections through some interfaces, apparatuses, modules, or units, and may be electric, mechanical or other forms of connections. [0189] The modules or units described as separate parts may or may not be physically separate, and parts displayed as modules or units may or may not be physical modules or units, 10 may be located in one position, or may be distributed on a plurality of network modules or units. A part or all of the modules or units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments. [0190] In addition, functional modules or units in the embodiments of the present invention may be integrated into one processing module or unit, or each of the modules or 15 units may exist alone physically, or two or more modules or units are integrated into one module or unit. The integrated modules or units may be implemented in a form of hardware, or may be implemented in a form of a software functional unit. [0191] When the integrated modules or units are implemented in the form of a software functional module or unit and sold or used as an independent product, the integrated modules 20 or units may be stored in a computer-readable storage medium. According to such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art, or all or a part of the technical solutions may be implemented in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal 25 computer, a server, or a network device) to perform all or a part of the steps of the methods described in the embodiments of the present invention. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disc, or an optical disc. 30 [0192] The foregoing descriptions are merely specific embodiments of the present invention, but are not intended to limit the protection scope of the present invention. Any modification or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to 5 the protection scope of the claims.
权利要求:
Claims (27)
[1] 1. A group communication method, comprising: receiving notification messages sent by a group member device, wherein the notification 5 messages are sent to a group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least; aggregating, according to an address of the subscription device, the notification messages destined for the same subscription device; and 10 sending, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.
[2] 2. The method according to claim 1, wherein the aggregating, according to an address of the subscription device, the notification messages destined for the same subscription device comprises: 15 aggregating, according to a forwarding identifier and the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device.
[3] 3. The method according to claim 2, wherein the aggregating, according to a forwarding identifier and the address of the subscription device carried in the notification messages, the 20 notification messages destined for the same subscription device comprises: determining, according to the forwarding identifier carried in the notification messages, that the notification messages need to be forwarded to the subscription device; and aggregating, according to the address of the subscription device carried in the notification messages, the notification messages that carry the same address of the 25 subscription device into a single notification message.
[4] 4. The method according to claim 1, wherein the aggregating, according to an address of the subscription device, the notification messages destined for the same subscription device comprises: aggregating, according to a recipient address of the notification messages and the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device.
[5] 5. The method according to claim 4, wherein the aggregating, according to a recipient 5 address of the notification messages and the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device comprises: determining, according to the recipient address of the notification messages, that the notification messages need to be forwarded to the subscription device, wherein the recipient 10 address of the notification messages is an address of a subresource of the group server for aggregating notification messages; and aggregating, according to the address of the subscription device carried in the notification messages, the notification messages that carry the same address of the subscription device into a single notification message. 15
[6] 6. The method according to claim 1, wherein the aggregating, according to an address of the subscription device, the notification messages destined for the same subscription device comprises: aggregating, according to a recipient address of the notification messages and the address of the subscription device stored in a subresource of the group server, the notification 20 messages destined for the same subscription device.
[7] 7. The method according to claim 6, wherein the aggregating, according to a recipient address of the notification messages and the address of the subscription device stored in a subresource of the group server, the notification messages destined for the same subscription device comprises: 25 determining, according to the recipient address of the notification messages, that the notification messages need to be forwarded to the subscription device, wherein the recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages; acquiring, according to the recipient address of the notification messages, from the 30 subresource of the group server corresponding to the recipient address of the notification messages, the address of the subscription device stored in the subresource; and aggregating, according to the address of the subscription device, the notification messages with the same recipient address into a single notification message.
[8] 8. The method according to claim 7, further comprising: 5 receiving an address change request message sent by the subscription device, wherein the request message carries a changed address of the subscription device; and updating the address of the subscription device stored in the subresource, to the changed address.
[9] 9. The method according to any one of claims 6 to 8, before receiving notification 10 messages sent by the group member device, further comprising: receiving a request message sent by the subscription device for subscribing to a group member device of the group server, wherein the request message carries the address of the subscription device; and creating, according to the request message, a subresource for storing the subscription 15 condition set by the subscription device and the address of the subscription device.
[10] 10. The method according to claim 9, wherein a manner of creating a subresource for storing the subscription condition set by the subscription device and the address of the subscription device comprises either of the following manners: manner 1: searching, in a group resource, for a subresource that comprises the 20 subscription condition set by the subscription device; and if the subresource exists, creating, in the subresource, a subresource for storing the address of the subscription device; or if the subresource does not exist, first creating, according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and then creating, in the subresource for storing the subscription condition, a subresource for storing the address of 25 the subscription device; and manner 2: searching for a group resource for storing subscription information of the subscription device, and if the group resource exists, searching, in the group resource, for a subresource that comprises the subscription condition set by the subscription device, and if the subresource exists, creating, in the subresource, a subresource for storing the address of 30 the subscription device, or if the subresource does not exist, first creating, according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and then creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device; or if the group resource for storing the subscription information of the subscription device does not exist, 5 creating a group resource for storing the subscription information of the subscription device, and creating, in the group resource according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device. 10
[11] 11. The method according to any one of claims 1 to 10, wherein the receiving notification messages sent by the group member device comprises: receiving the notification messages sent by the group member device and a notification message that is obtained after aggregation and sent by a subgroup server of the group server.
[12] 12. The method according to any one of claims 1 to 10, wherein the receiving 15 notification messages sent by the group member device comprises: receiving the notification messages sent by the group member device and a notification message sent by a group member device of a subgroup server of the group server.
[13] 13. A group communication method, comprising: determining, by a group member device, whether a resource of the group member device 20 meets a set subscription condition; and sending, by the group member device, notification messages to a group server if the resource of the group member device meets the set subscription condition, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device. 25
[14] 14. The method according to claim 13, wherein the sending, by the group member device, notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device comprises: sending, by the group member device, notification messages to the group server, wherein 30 the notification messages carry a forwarding identifier and an address of the subscription device, so that the group server aggregates the notification messages according to the forwarding identifier and the address of the subscription device and sends a notification message obtained after aggregation to the subscription device.
[15] 15. The method according to claim 14, before the group member device determines 5 whether the resource of the group member device meets the set subscription condition, further comprising: receiving, by the group member device, a resource subscription request message forwarded by the group server, wherein the request message carries an address of the group server and the address of the subscription device; and 10 setting, by the group member device, the forwarding identifier according to the address of the group server.
[16] 16. The method according to claim 13, wherein the sending, by the group member device, notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device 15 comprises: sending, by the group member device, notification messages to the group server, wherein the notification messages carry an address of the subscription device, and a recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages, so that the group server aggregates the notification messages according 20 to the address of the subresource and the address of the subscription device and sends a notification message obtained after aggregation to the subscription device.
[17] 17. The method according to claim 16, before the group member device determines whether the resource of the group member device meets the set subscription condition, further comprising: 25 receiving, by the group member device, a resource subscription request message sent by the group server, wherein the request message carries the address of the subresource of the group server for aggregating notification messages and the address of the subscription device; and setting, by the group member device, the address of the subresource to the recipient 30 address of the notification messages.
[18] 18. The method according to claim 13, wherein the sending, by the group member device, notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device comprises: 5 sending, by the group member device, notification messages to the group server, wherein a recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages, so that the group server acquires, according to the address of the subresource, an address of the subscription device stored in the subresource, aggregates the notification messages according to the address of the subscription device, and 10 sends a notification message obtained after aggregation to the subscription device.
[19] 19. The method according to claim 18, wherein the sending, by the group member device, notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device comprises: 15 receiving, by the group member device, a resource subscription request message sent by the group server, wherein the request message carries the address of the subresource of the group server for aggregating notification messages; and setting, by the group member device, the address of the subresource to the recipient address of the notification messages.
[20] 20 20. A group server, comprising: a first receiving module, configured to receive notification messages sent by a group member device, wherein the notification messages are sent to the group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least; 25 an aggregating module, configured to aggregate, according to an address of the subscription device, the notification messages destined for the same subscription device; and a first sending module, configured to send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.
[21] 21. The group server according to claim 20, wherein the aggregating module is 30 specifically configured to aggregate, according to a forwarding identifier and the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device.
[22] 22. The group server according to claim 20, wherein the aggregating module is specifically configured to aggregate, according to a recipient address of the notification 5 messages and the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device, and the recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages.
[23] 23. The group server according to claim 20, wherein the aggregating module is 10 specifically configured to aggregate, according to a recipient address of the notification messages and the address of the subscription device stored in a subresource of the group server, the notification messages destined for the same subscription device.
[24] 24. The group server according to claim 23, wherein the first receiving module is further configured to receive an address change request message sent by the subscription device, and 15 the request message carries a changed address of the subscription device, and update the address of the subscription device stored in the subresource to the changed address.
[25] 25. A group member device, comprising: a determining module, configured to determine whether a resource of the group member device meets a set subscription condition; and 20 a second sending module, configured to send notification messages to a group server if the resource of the group member device meets the set subscription condition, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device.
[26] 26. The group member device according to claim 25, wherein the second sending 25 module is specifically configured to: send notification messages to the group server, wherein the notification messages carry a forwarding identifier and an address of the subscription device, so that the group server aggregates the notification messages according to the forwarding identifier and the address of the subscription device and sends a notification message obtained after aggregation to the subscription device; or 30 send notification messages to the group server, wherein the notification messages carry an address of the subscription device, and a recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages, so that the group server aggregates the notification messages according to the address of the subresource and the address of the subscription device and sends a notification message 5 obtained after aggregation to the subscription device; or send notification messages to the group server, wherein a recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages, so that the group server acquires, according to the address of the subresource, an address of the subscription device stored in the subresource, aggregates the 10 notification messages according to the address of the subscription device, and sends a notification message obtained after aggregation to the subscription device.
[27] 27. A group communication system, comprising: a group member device, configured to send notification messages to a group server, wherein the notification messages are sent to the group server after a resource of the group 15 member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least; and the group server, configured to receive the notification messages sent by the group member device, aggregate, according to an address of the subscription device, the notification messages destined for the same subscription device, and send, according to the address of the 20 subscription device, a notification message obtained after aggregation to the subscription device.
类似技术:
公开号 | 公开日 | 专利标题
US11071013B2|2021-07-20|Method and system for group communication, group server, and group member device
JP2017504854A|2017-02-09|Method and apparatus for performing subscription notification
US20190208529A1|2019-07-04|Method and Apparatus for Group Management During Machine-to-Machine Communication
EP3358786B1|2019-10-09|Information processing method in m2m and apparatus
US20180176745A1|2018-06-21|M2m group and notification resource creation and information exchange methods therefor, and storage medium
US10511682B2|2019-12-17|Group resource updating processing methods, devices and system, and CSEs
KR20200042006A|2020-04-22|Internet of Things Resource Subscription Methods, Devices, and Systems
KR20220004862A|2022-01-12|Method of determining how to provide information to a plurality of devices based on the temporal requirements for the information, and apparatus for said method
JP6621075B2|2019-12-18|Resource acquisition method and apparatus
同族专利:
公开号 | 公开日
EP2822302A4|2015-02-18|
WO2013170410A1|2013-11-21|
JP6014922B2|2016-10-26|
US10638362B2|2020-04-28|
CA2869505C|2020-09-29|
US20150009818A1|2015-01-08|
US20200229033A1|2020-07-16|
AU2012380279C1|2016-11-03|
EP2822302A1|2015-01-07|
US20210329493A1|2021-10-21|
JP2015523769A|2015-08-13|
US9924409B2|2018-03-20|
US11071013B2|2021-07-20|
AU2012380279B2|2015-09-24|
US20180199234A1|2018-07-12|
CA2869505A1|2013-11-21|
EP2822302B1|2016-07-13|
EP3094116A1|2016-11-16|
EP3429242A1|2019-01-16|
ES2679794T3|2018-08-31|
CN106714082A|2017-05-24|
KR20140138973A|2014-12-04|
EP3429242B1|2021-03-31|
KR101599179B1|2016-03-02|
CN103518350A|2014-01-15|
EP3094116B1|2018-04-18|
ES2594009T3|2016-12-15|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题
US20030217142A1|2002-05-15|2003-11-20|Microsoft Corporation|Method and system for supporting the communication of presence information regarding one or more telephony devices|
US20050228895A1|2004-03-30|2005-10-13|Rajesh Karunamurthy|Method, Web service gateway for presence, and presence server for presence information filtering and retrieval|
KR100627328B1|2004-05-12|2006-09-25|전자부품연구원|Energy Efficient Data Aggregation Method in Wireless Sensor Networks|
US7634564B2|2004-11-18|2009-12-15|Nokia Corporation|Systems and methods for invoking a service from a plurality of event servers in a network|
CN101167097A|2005-04-29|2008-04-23|Ut斯达康通讯有限公司|A method of flexible setting the charging mode in IMS system|
US20060274701A1|2005-06-03|2006-12-07|Telefonaktiebolaget Lm Ericsson |Means and method for notification|
AU2006261994A1|2005-06-23|2007-01-04|Xds, Inc.|Methods and apparatus for network address change for mobile devices|
US20070211682A1|2006-03-09|2007-09-13|Nec Laboratories America, Inc.|On Packet Aggregation and Header Compression Mechanisms for Improving VoIP Quality in Mesh Networks|
US7864716B1|2007-02-15|2011-01-04|Nextel Communications Inc.|Talk group management architecture|
US9055116B2|2007-02-28|2015-06-09|Sony Corporation|Presence system, communication terminal, server and computer program product therefor|
US8156219B2|2007-08-03|2012-04-10|At&T Intellectual Property I, L.P.|System and method of health monitoring and fault monitoring in a network system|
CN101668031B|2008-09-02|2013-10-16|阿里巴巴集团控股有限公司|Message processing method and message processing system|
CN101677327B|2008-09-16|2013-11-06|华为技术有限公司|Method, system and device of subscribing position-related information|
US20100099389A1|2008-10-22|2010-04-22|Telefonaktiebolaget Lm Ericsson |Methods, Presence Server, User Equipment , andPresence Message for User Identity Update|
CN101742477B|2008-11-24|2012-10-31|中国移动通信集团公司|Information processing system, equipment and method|
CN101854338B|2009-03-31|2014-02-26|国际商业机器公司|Subscriber equipment, subscription management method thereof, and real-time communication method and system|
US8180765B2|2009-06-15|2012-05-15|Telefonaktiebolaget L M Ericsson |Device and method for selecting at least one media for recommendation to a user|
CN102014144A|2009-09-04|2011-04-13|华为技术有限公司|Method and device for submitting terminal data|
CN102550057B|2009-11-03|2015-06-03|上海贝尔股份有限公司|Method and equipment for converging plural service data from machine terminal devices|
CN102056140B|2009-11-06|2013-08-07|中兴通讯股份有限公司|Method and system for acquiring machine type communication terminal information|
US8750145B2|2009-11-23|2014-06-10|Interdigital Patent Holdings, Inc.|Method and apparatus for machine-to-machine communication registration|
KR101599179B1|2012-05-14|2016-03-02|후아웨이 테크놀러지 컴퍼니 리미티드|Group communication method and system, group server and group member device|KR101958902B1|2011-09-30|2019-07-03|삼성전자주식회사|Method for group controlling of electronic devices and electronic device management system therefor|
KR101599179B1|2012-05-14|2016-03-02|후아웨이 테크놀러지 컴퍼니 리미티드|Group communication method and system, group server and group member device|
KR101432128B1|2013-01-29|2014-08-21|주식회사 케이티|M2M platform for converting resources into abstracted device object on M2M network|
WO2014193950A1|2013-05-28|2014-12-04|Convida Wireless, Llc|Data aggregation|
CN104918221B|2014-03-14|2019-03-15|中兴通讯股份有限公司|Registration, cancellation, standby processing method and the system of terminal peripheral hardware|
CN105100002B|2014-05-05|2019-05-07|中兴通讯股份有限公司|The operating method and device of attribute|
CN105101412A|2014-05-21|2015-11-25|中兴通讯股份有限公司|Notification message sending method and device|
EP3149994B1|2014-06-02|2019-10-02|Telefonaktiebolaget LM Ericsson |Merging proxy|
CN105323186B|2014-06-20|2020-04-21|中兴通讯股份有限公司|Notification message load control method and device|
CN105263163B|2014-07-18|2019-01-15|中兴通讯股份有限公司|A kind of sending method of notification message, device and system|
CN105282118B|2014-07-21|2019-01-29|中兴通讯股份有限公司|Control resource Notification of Changes message method and device|
CN105406953B|2014-09-15|2019-09-06|青岛海尔智能家电科技有限公司|A kind of method and device polymerizeing notification message|
WO2016068548A1|2014-10-28|2016-05-06|엘지전자 주식회사|Method for processing notification message in wireless communication system and apparatus therefor|
CN105681210A|2014-11-14|2016-06-15|中兴通讯股份有限公司|Group resource updating processing method, device and system as well as CSE |
JP2017538209A|2014-11-14|2017-12-21|コンヴィーダ ワイヤレス, エルエルシー|Authorization-based resource and service discovery|
EP3235268B1|2014-12-19|2020-02-26|Telefonaktiebolaget LM Ericsson |Method, network node and terminal device in a communication network|
CN104954998A|2015-04-28|2015-09-30|北京海尔广科数字技术有限公司|Group member information updating method and device|
EP3298806B1|2015-05-20|2019-10-16|Convida Wireless, LLC|Methods and apparatus for analyzing and grouping service layer subscriptions and notifications for enhanced efficiency|
CN106331041A|2015-07-01|2017-01-11|中兴通讯股份有限公司|Method and apparatus for refreshing notice|
CN105119806B|2015-07-15|2016-11-30|腾讯科技(深圳)有限公司|message updating method and device|
US10701009B1|2015-08-10|2020-06-30|Amazon Technologies, Inc.|Message exchange filtering|
CN106790323B|2015-11-19|2020-02-14|华为软件技术有限公司|Resource discovery method and device|
US10630835B2|2016-03-08|2020-04-21|T-Mobile Usa, Inc.|Content sharing between related devices|
CN107294739A|2016-03-31|2017-10-24|展讯通信(上海)有限公司|The network equipment, terminal, group membership's point-to-point communication and the method for obtaining its information|
US10783144B2|2016-04-01|2020-09-22|Arista Networks, Inc.|Use of null rows to indicate the end of a one-shot query in network switch|
US10783147B2|2016-04-01|2020-09-22|Arista Networks, Inc.|Query result flow control in a network switch|
US10860568B2|2016-04-01|2020-12-08|Arista Networks, Inc.|External data source linking to queries in memory|
US10817512B2|2016-04-01|2020-10-27|Arista Networks, Inc.|Standing queries in memory|
US10642844B2|2016-04-01|2020-05-05|Arista Networks, Inc.|Non-materialized tables with standing queries|
US10284673B2|2016-04-01|2019-05-07|Arista Networks, Inc.|Interface for a client of a network device|
US9998810B2|2016-05-30|2018-06-12|Jamstack Inc.|Portable speaker system for electric string instruments|
US10356745B2|2016-06-08|2019-07-16|T-Mobile Usa, Inc.|Device and/or line event awareness and smart synchronization|
US10701310B2|2017-06-23|2020-06-30|T-Mobile Usa, Inc.|Video call continuity between devices via a telecommunications network|
CN107426700B|2017-07-31|2020-12-18|海能达通信股份有限公司|Location subscription method and related device|
CN109756525A|2017-11-01|2019-05-14|钉钉控股(开曼)有限公司|Information subscribing method and device|
JP6748054B2|2017-11-10|2020-08-26|ファナック株式会社|Control system|
WO2020237548A1|2019-05-29|2020-12-03|Oppo广东移动通信有限公司|Resource subscription method, device and server, and computer storage medium|
CN112449312B|2019-08-30|2022-02-18|普天信息技术有限公司|Method and device for acquiring multimedia mass-sending service group members in broadband cluster system|
法律状态:
2016-01-21| FGA| Letters patent sealed or granted (standard patent)|
2016-07-28| DA2| Applications for amendment section 104|Free format text: THE NATURE OF THE AMENDMENT IS AS SHOWN IN THE STATEMENT(S) FILED 13 JUL 2016 . |
2016-11-03| DA3| Amendments made section 104|Free format text: THE NATURE OF THE AMENDMENT IS AS SHOWN IN THE STATEMENT(S) FILED 13 JUL 2016 |
优先权:
申请号 | 申请日 | 专利标题
PCT/CN2012/075427|WO2013170410A1|2012-05-14|2012-05-14|Group communication method and system, group server and group member device|
[返回顶部]